<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>
<body>

  <div class="page-group">
    <div class="page page-current">
      
      <header class="bar bar-nav fs-header-small">
        <a href="javascript:void(0);" onclick="window.history.back();" class="icon icon-left pull-left"></a>
        <h1 class="title">学员目标数据</h1>
      </header>
      
      <div class="content">
      
        <c:if test="${empty targets}">
          <div class="list-block media-list" style="margin-top:1.2rem">
            <p class="text-center">暂无符合条件的学员目标数据</p>
          </div>
        </c:if>
        
        <c:if test="${not empty targets}">
          <c:forEach var="target" items="${targets}">
            <div class="card student-target">
              <div class="card-content">
                <p>本阶段的数据目标：${target.shortTarget}</p>
                <p>长期目标：${target.longTarget}</p>
              </div>
              <div class="card-footer">
                <fmt:formatDate pattern="yyyy-MM-dd" value="${target.createTime}"/>
              </div>
            </div>
          </c:forEach>
        </c:if>
      
      </div>
      
    </div>
  </div>
  
</body>
</html>